<div id="slider">
<div id="featured-ribbon"></div>
<div id="mover">
<?php
	$my_query = new WP_Query("cat=".get_theme_mod('slider')."&showposts=".get_theme_mod('slidercount').""); 
  while ($my_query->have_posts()) : $my_query->the_post();
	?>
<div  class="slide">

	<?php $thumb = get_post_meta($post->ID, 'postimage', $single = true); ?>
<?php 
if($thumb !== '') { ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&amp;h=190&amp;w=320&amp;q=80&amp;zc=1" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>"  class="cover" /></a>
<?php }
else { echo ''; } ?>

<h4><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4>
	<span class="slmet"> <?php the_time('jS F Y'); ?> </span>
    <p><?php the_content_limit(600, ""); ?></p>
			

</div>
				<?php endwhile; ?>
				
			
	</div>
		
	</div>



